Skip to content

Conversation

da-ksh-esh
Copy link

Upgraded to Python 3.13 :) as per the issue
Key Changes:
Type Hints: Updated to include npt.NDArray for better type checking with numpy arrays and Union for real/complex compatibility. Error Handling: More informative assertion errors for matrix dimensions and types.
Matrix Shape Handling: Explicitly named dimensions (N, M) to ensure clarity.
Complex Hermitian Check: Uses assert with an error message for better debugging.

da-ksh-esh and others added 2 commits October 3, 2024 20:33
Key Changes:
Type Hints: Updated to include npt.NDArray for better type checking with numpy arrays and Union for real/complex compatibility.
Error Handling: More informative assertion errors for matrix dimensions and types.
Matrix Shape Handling: Explicitly named dimensions (N, M) to ensure clarity.
Complex Hermitian Check: Uses assert with an error message for better debugging.
@da-ksh-esh da-ksh-esh closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant